package ui;

import java.awt.Panel;
import java.util.ArrayList;
import java.util.List;

import javax.swing.JFrame;

import model.Partij;

public class MainView extends JFrame
{

	List<Partij> partijen;

	List<Panel> mainPanels = new ArrayList<>();

	public static void main(String args[])
	{
		new MainView(null);
	}

	public MainView(List<Partij> partijen)
	{
		partijen = new ArrayList<>();

		partijen.add(new Partij("VVD"));
		partijen.add(new Partij("PVDA"));
		partijen.add(new Partij("SGP"));

		add(new PartijOverzichtPanel(partijen));

		// partijen ophalen

		// partij panels toevoegen
	}
}
